<?php

namespace Application\DefaultBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;


class DefaultController extends Controller
{
    /**
     * @Route("/", name="homepage")
     * @Template()
     */
    public function indexAction()
    {
        return array('titlePage' => 'О компании');
    }

    /**
     * @Route("/contacts", name="contacts")
     * @Template
     */
    public function contactsAction()
    {
        return array('titlePage' => 'Контакты');
    }

    /**
     * @Route("/portfolio", name="portfolio")
     * @Template
     */
    public function portfolioAction()
    {
        return array();
    }
}
